Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Fix to allow multi language audio to be packaged correctly. #231

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

duggaraju
Copy link
Collaborator

Use stream id instead of stream type to select multiple audios correctly. Assumes that track id is stream_index + 1 which works 99% of time but could be incorrect some times.

Use stream id instead of stream type to select multiple audios correctly.
Assumes that track id is stream_index + 1 which works 99% of time but could be incorrect some times.
@duggaraju
Copy link
Collaborator Author

Fixes #230 . While usually the MP4 track ID is stream_index (0-based) + 1. It doesn't always have to be that way and that could fail in some rare cases. It works for the customer reported scenario.

@pohhsu pohhsu merged commit 2dd5b13 into main Dec 26, 2023
@pohhsu pohhsu deleted the duggaraju/multi_audio branch December 26, 2023 06:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants